// import UseStateView from './usestate/UseStateView';
// import UseEffectView from './useeffect/UseEffectView';
import { useRef, useState } from 'react';
import './App.css';
// import UseImperativeHandleView from './useimperativehandle/UseImperativeHandleView';
// import UserLayoutEffectView from './uselayouteffect/UserLayoutEffectView';
// import CureentHookView from './currenthook/CureentHookView';
// import UseDebugValueView from './useDebugValue/UseDebugValueView.jsx'


function App() {
  // const [flag, setFlag] = useState(true)
  // const input1 = useRef()
  return (
    <div className="App">
      {/* <UseStateView /> */}
      {/* <UseEffectView /> */}
      {/* <UserLayoutEffectView /> */}
      {/* <CureentHookView /> */}
      {/* <UseDebugValueView /> */}

      {/*  <UseImperativeHandleView ref={input1} flag={flag} />
      <div>
        <button type='button' onClick={() => {
          console.log(input1.current)
          input1.current.focus();
          input1.current.setValue("hell0");
        }}>获取子组件暴露的数据</button>
      </div> */}




    </div>
  );
}

export default App;
